#define _CRT_SECURE_NO_WARNINGS 1
#include"dlist.h"

void TestList1()
{
	DLTNode* plist = DLTInit( ); 
	DLTPushBack(plist, 1);
	DLTPushBack(plist, 2);
	DLTPushBack(plist, 3);
	DLTPushBack(plist, 4);
	DLTPrint(plist);


	DLTPopBack(plist);
	DLTPopBack(plist);
	DLTPrint(plist);

	DLTPushFront(plist, 1);
	DLTPushFront(plist, 2);
	DLTPushFront(plist, 3);
	DLTPushFront(plist, 4);
	DLTPrint(plist);
}

int main()
{
	TestList1();
	return 0;
}